package com.ruoyi.boss.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 下单围栏列表优化对象 t_fench
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
public class TFench extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long fenchId;

    /** 城市 */
    @Excel(name = "城市")
    private Long cityId;

    /** 围栏名称 */
    @Excel(name = "围栏名称")
    private String fenchName;

    /** 围栏开始有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "围栏开始有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginTime;

    /** 围栏截止有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "围栏截止有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 状态 */
    @Excel(name = "状态")
    private Long statusId;

    public void setFenchId(Long fenchId) 
    {
        this.fenchId = fenchId;
    }

    public Long getFenchId() 
    {
        return fenchId;
    }

    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }

    public void setFenchName(String fenchName) 
    {
        this.fenchName = fenchName;
    }

    public String getFenchName() 
    {
        return fenchName;
    }

    public void setBeginTime(Date beginTime) 
    {
        this.beginTime = beginTime;
    }

    public Date getBeginTime() 
    {
        return beginTime;
    }

    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    public void setStatusId(Long statusId) 
    {
        this.statusId = statusId;
    }

    public Long getStatusId() 
    {
        return statusId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fenchId", getFenchId())
            .append("cityId", getCityId())
            .append("fenchName", getFenchName())
            .append("beginTime", getBeginTime())
            .append("endTime", getEndTime())
            .append("statusId", getStatusId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
